package com.seanchenxi.gwt.wordpress.xmlrpc.service.model.handler;

import com.seanchenxi.gwt.wordpress.domain.model.Comment;
import com.seanchenxi.gwt.wordpress.xmlrpc.service.model.impl.ModelFactory;
import com.seanchenxi.gwt.xmlrpc.client.impl.BaseResponseHandler;

public class CommentResponseHandler extends BaseResponseHandler<Comment>{
	@Override
	public Comment handleResponse(String response) {
		Object object = super.handleResponse(response);
		if(object==null) return null;
		return ModelFactory.ToComment(object);
	}
}
